package com.dyrj.pig.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/common")
public class CommonController {
    @RequestMapping("/index")
    public String index(){
        return "index";
    }
    @RequestMapping("/list")
    public String list(Model model){

        model.addAttribute("list","");
        return "list";
    }

}
